package com.kd.juhaowan.http.api;

import androidx.annotation.NonNull;

import com.hjq.http.config.IRequestApi;

public class LoginApi implements IRequestApi {

    @NonNull
    @Override
    public String getApi() {
        return "api/login";
    }

    private String username;
    private String password;
    private String pattern;


    /**
     *
     * @param username
     * @param password
     * @param pattern 账户注册：account，手机注册：mobile
     *
     */
    public LoginApi(String username, String password, String pattern) {
        this.username = username;
        this.password = password;
        this.pattern = pattern;

    }

}
